package com.dankegongyu.demo.http.bean;

import java.io.Serializable;

/**
 * @author WuPuquan
 * @version 1.0
 * @since 2017/10/16 18:12
 */

public class UserBean implements Serializable {
    private static final long serialVersionUID = -8057282303274294019L;

//    {
//        "nickname":"用户 6324",
//        "mobile":"18234096324",
//        "avatar":"",
//        "city":null,
//        "suite_address":"",
//        "room_address":"",
//        "balance":0,
//        "is_customer":false,
//        "is_landlord":false,
//        "human_name":"",
//        "human_mobile":"",
//        "human_card":""
//        "ronglian": {
//            "user_id": 38,
//            "user_name": "鞠梅"
//        }
//    }

    public String nickname;
    public String mobile;
    public String avatar;
    public String city;
    // 居住公寓地址
    public String suite_address;
    // 房间地址：具体到A房间这样
    public String room_address;
    // 余额
    public String balance;
    public Boolean is_customer;
    public Boolean is_landlord;
    public String human_name;
    public String human_mobile;
    public String human_card;

    public String gender;
    public String constellation;

    public Ronglian ronglian;

    public static class Ronglian implements Serializable {
        public String user_id;
        public String user_name;
    }

    @Override
    public String toString() {
        return "UserBean{" +
                "nickname='" + nickname + '\'' +
                ", mobile='" + mobile + '\'' +
                ", avatar='" + avatar + '\'' +
                ", city='" + city + '\'' +
                ", suite_address='" + suite_address + '\'' +
                ", room_address='" + room_address + '\'' +
                ", balance='" + balance + '\'' +
                ", is_customer=" + is_customer +
                ", is_landlord=" + is_landlord +
                ", human_name='" + human_name + '\'' +
                ", human_mobile='" + human_mobile + '\'' +
                ", human_card='" + human_card + '\'' +
                ", gender='" + gender + '\'' +
                ", constellation='" + constellation + '\'' +
                ", ronglian=" + ronglian +
                '}';
    }
}
